import Vue from 'vue'
import App from './App.vue'
import router from "./router"
import axios from "axios"
import VueAxios from "vue-axios";
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'


axios.defaults.headers.post['Content-Type'] = 'application/json'
//设置网络请求的ip地址  基础链接
axios.defaults.baseURL = "http://localhost:8080/PangHuDaoJia_Web_exploded/";


axios.defaults.headers.common['Content-Type'] ='application/x-www-form-urlencoded';

Vue.use(VueAxios,axios)
Vue.config.productionTip = false
Vue.use(ElementUI);

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
